package de.mlp_distributed.mlp.math;

import de.mlp_distributed.mlp.math.mahout.DenseMatrix;
import de.mlp_distributed.mlp.math.mahout.Matrix;

public class MahoutMatrixFactory implements MatrixFactory {

	public MahoutMatrixFactory() {
		super();
	}

	@Override
	public Matrix construct(final double[][] values) {
		return new DenseMatrix(values);
	}

	@Override
	public Matrix construct(final int rows, final int columns) {
		return new DenseMatrix(rows, columns);
	}
}
